<template>
	<view class="uni-flex uni-column">
		<view class="flex-item" style="flex: 1; height: 300upx; ">
				dddd
		</view>
		<view class="flex-item" style="flex:3">
			<view>
				<uni-list>
					<uni-list-item title="我的订单" :show-extra-icon="true" :extra-icon="extraIcon1" :show-badge="true" badge-text="12"></uni-list-item>
					<uni-list-item title="账单明细" thumb="https://img-cdn-qiniu.dcloud.net.cn/new-page/hx.png"></uni-list-item>
					<uni-list-item title="收获地址" thumb="https://img-cdn-qiniu.dcloud.net.cn/new-page/hx.png"></uni-list-item>
				</uni-list>
			</view>
			<view class="mt20">
				<uni-list>
					<uni-list-item title="帮助中心" :show-extra-icon="true" :extra-icon="extraIcon1" :show-badge="true" :badge-text="'12'"></uni-list-item>
					<uni-list-item title="意见反馈" thumb="https://img-cdn-qiniu.dcloud.net.cn/new-page/hx.png"></uni-list-item>
				</uni-list>
			</view>
			<view class="mt20">
				<uni-list>
					<uni-list-item title="关于我们" :show-extra-icon="true" :extra-icon="extraIcon1" :show-badge="true" :badge-text="'12'"></uni-list-item>
					<uni-list-item title="系统设置" thumb="https://img-cdn-qiniu.dcloud.net.cn/new-page/hx.png"></uni-list-item>
				</uni-list>
			</view>
		</view>
	</view>
</template>

<script>
	import uniList from '@/components/uni-list/uni-list.vue'
	import uniListItem from '@/components/uni-list-item/uni-list-item.vue'
	export default {
		components: {
			uniList,
			uniListItem
		},
		data() {
			return {
				extraIcon1: {
					color: '#a34190',
					size: '25',
					type: 'contact'
				},
				extraIcon2: {
					color: '#4cd964',
					size: '25',
					type: 'spinner'
				}
			}
		}
	}
</script>

<style>
	.mt20 {
		margin-top: 20upx;
	}

	page {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
	}
	
	
</style>
